﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChongJu.ModelManager.Rating
{
    public class RatingResultModel
    {
        public int Rating { get; set; }

        /// <summary>
        /// 等级名称
        /// </summary>
        public string RatingName { get; set; }

        public string RatingCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public double Probability { get; set; }

        /// <summary>
        /// 是否成功
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 耗时
        /// </summary>
        public double Time { get; set; }

        /// <summary>
        /// 图片信息
        /// </summary>
        public string ImageInfo { get; set; }

        /// <summary>
        /// 批次ID
        /// </summary>
        public int BatchID { get; set; }

        /// <summary>
        /// 解析对象ID
        /// </summary>
        public int AnalyzeID { get; set; }

        /// <summary>
        /// 保存图片的路径
        /// </summary>
        public string SaveImagePath { get; set; }

        /// <summary>
        /// 烟叶重量
        /// </summary>
        public float Weight { get; set; }

        /// <summary>
        /// 图片数据
        /// </summary>
        public Bitmap Image { get; set; }

        /// <summary>
        /// 锁定内存的图片数据
        /// </summary>
        public BitmapData ImageData { get; set; }

        /// <summary>
        /// 图像分析日志
        /// </summary>
        public JObject AnalyzeLog { get; set; }

        /// <summary>
        /// 模型里面的日志
        /// </summary>
        public string ModelLog { get; set; }
    }
}
